package xfuzzy.alg_genetico.indeterminado.util;

import java.io.File;

import xfuzzy.xfghl.model.XfghlConfig;
import xfuzzy.xfhl.model.spec.XfhlInputType;
import xfuzzy.xfhl.model.spec.XfhlOperSet;

public class XfghlConfigGenerator {

	public static XfghlConfig getXfghl6()  {
		
		File fileDataSet = new File("/home/max/workspace/xfuzzy/examples/regression/fun6/fun6.dat");
 		String nameSystem = "noname_000.xfl";
 		int numThread = 8;
 		int numIterAjus = 1;
	    double iniUpd = 0.1;
	    double incFact = 1.5;
	    double decFact = 0.7;
	    int mfs = 3;
	    int operatorAND = XfhlOperSet.AndOperatorMin;
	    int defuzzOperator = XfhlOperSet.DefuzOperatorFuzzyMean;
	    int IN_TYPE = XfhlInputType.FREE_TRIANGLES;
	    int AlgSelected = 0;
	    return new XfghlConfig(nameSystem, numIterAjus, numThread, fileDataSet, iniUpd, incFact, decFact, operatorAND, defuzzOperator, IN_TYPE, mfs, AlgSelected);
	}
	
	public static XfghlConfig getXfghl7()  {
		
		File fileDataSet = new File("/home/max/workspace/xfuzzy/examples/regression/fun7/fun7.dat");
 		String nameSystem = "noname_000.xfl";
 		int numThread = 8;
 		int numIterAjus = 10;
	    double iniUpd = 0.1;
	    double incFact = 1.5;
	    double decFact = 0.7;
	    int mfs = 3;
	    int operatorAND = XfhlOperSet.AndOperatorMin;
	    int defuzzOperator = XfhlOperSet.DefuzOperatorFuzzyMean;
	    int IN_TYPE = XfhlInputType.FREE_TRIANGLES;
	    int AlgSelected = 0;
	    return new XfghlConfig(nameSystem, numIterAjus, numThread, fileDataSet, iniUpd, incFact, decFact, operatorAND, defuzzOperator, IN_TYPE, mfs, AlgSelected);
	}
}
